package com.yn.pet.web.controller;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.yn.pet.web.endpoint.JT808Endpoint;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;


@RestController
@RequestMapping("/test")
public class TestController {


    @Autowired
    private JT808Endpoint jt808Endpoint;

    @GetMapping("/petServer")
    public void test() throws JsonProcessingException {
        jt808Endpoint.T0200(new ArrayList<>());
    }
}
